package com.itheima02;

public class Demo01 {
    public static void main(String[] args) {
        String s = "";
        long time1 = System.currentTimeMillis();

        for (int i = 0; i < 100000; i++) {
            s += "a";
        }
        long time = System.currentTimeMillis();
        System.out.println(time - time1);
    }
}
